namespace Example.Controllers
{
    using Example.Models;
    using SimpleWebServices.Web.Mvc;

    [InternalServerError]
    [Allow(Methods = "GET, HEAD, OPTIONS")]
    [CacheControl, ContentLanguage, ContentLocation, ContentMD5]
    public sealed class GreetingController : ResourceController<Greeting>
    {
        public override IConvertUri Converter
        {
            get
            {
                return new ExplicitUriConverter<Greeting>(this.GetType(), "translation");
            }
        }
    }
}